str1 = '''Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Encoding:gzip, deflate, sdch, br
Accept-Language:zh-CN,zh;q=0.8
Cache-Control:max-age=0
Connection:keep-alive
Cookie:ABTEST=6|1504855176|v17; IPLOC=CN4403; SUID=49F40FB72F20910A0000000059B24488; SUV=003D68A1B70FF44959B24488C020D861; GOTO=Af11621; sw_uuid=3897297549; sg_uuid=6062481345; dt_ssuid=1015034044; ssuid=1459144920; pgv_pvi=8938561536; SNUID=0C20D76FD7DD8F3DB3A9195AD809753A; pex=C864C03270DED3DD8A06887A372DA219231FFAC25A9D64AE09E82AED12E416AC; CXID=96D2A1AB6D1045F832DF84E0279D3622; usid=wXL02x3JhS078IJS; sct=13; sogou_vr_70030901_newsName=%E8%B7%AF%E9%80%8F%E7%BD%91; sogou_vr_70030901_newsNum=5; taspeed=taspeedexist; pgv_si=s7347486720; ld=Vkllllllll2B76v2lllllVuiCMGlllllHZ@1vyllllYlllllRklll5@@@@@@@@@@; LSTMV=287%2C349; LCLKINT=3649; browerV=13; osV=1
Host:www.sogou.com
Upgrade-Insecure-Requests:1
User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.104 Safari/537.36 Core/1.53.3226.400 QQBrowser/9.6.11681.400'''

L = str1.split('\n')
L1 = []
for i in L:
    L1.append(i.split(':'))
for i in L1:
    print("'%s':'%s'," % (i[0],i[1]))